perm filename TESTJ[E,ALS]1 blob sn#217529 filedate 1976-06-03 generic text, type C, neo UTF8
COMMENT ⊗   VALID 00002 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	JGET TJGET
C00008 ENDMK
C⊗;
JGET TJGET

   This is a test file to test the new TJGET and JGET commands.  It begins
with some ordinary text for use with the JGET command and it will be
followed by several tables that can be used to test the TJGET command.

The Jget command should accept some typed-in margins and it should,
when so ordered, complete the set of margins
by inspecting a specified range of the text that is being editer.
Margin values consist of The paragraph indentation (refered to as PMAR).  The
 normal left indentation (LMAR), the last right-most column to be occupied
by the text (RMAR), and the number of blank lines that are to precede the
individual paragraphs (BNUM)
	It is anticipated that one might very well have a variety of
different paragraphs on the page, all with different indentations and with
some separated by blank lines and some not so separated.  One should still be
able to use JGET without to much trouble and without having to remember
all sorts of special rules.

    This page has been typed to illustrate the problem and to provide some
text to test out various ideas.  At the present time I am of the opinion that
the following conventions will handle the situation.

1)	The commands JGET and TJGET may be typed with or without a leading
argument and with or without trailing arguments and with or without there
being anything in the ATTACH buffer.
2)  The leading argument specifies the number of lines of text to be used.
If this number is missing or if it exceeds the number of lines on the page
(or in the ATTACH buffer) then the inspection extends to the end of the
page (or the end of the ATTACH buffer). The inspection begins at the arrow
location (or at the start of the ATTACH buffer).  This will be called the
first line.

3)   A zero leading argument specifies that no text inspection is to be
made.  In this case the default margin specifications are to be used
unless they are specified in the trailing string of arguments.

4)	The trailing arguments  consist of a series of decimal numbers
separated by commas.  Missing arguments are indicated by commas that are not
preceded by numerical values.

5)  If an initial argument is used, then all margins are to be reset
to the values specified by the trailing arguments or, if not so specified,
they are to be infered by an inspection of the text.

---	00	01	02	03	04	05	06	07

000	NUL	↓	α	β	∧	¬	ε	π	  X
010	λ	TAB	LF	VT	FF	CR	∞	∂
002	⊂	⊃	∩	∪	∀	∃	⊗	↔
003   _     →	~  ≠	≤	≥	≡	∨


   αXJUST +3,4,66<cr>   Justify the current page or the ATTACH buffer
		using temporary margins as specified (in this example
		to 7, 4 and to 66 respectively).

   αβXJUST ,4,66<cr>    Justify the current page or the ATTACH buffer
		using new sticky margins as specified.      These new
		values now become the default values.   The paragraph
		indentation will be left at the previously  specified
		value.


     
    CONDITIONS		  ACTION
P(old)	L(old)	B(old)	New par. @ PMAR after BNUM	  Other lines at LMAR

N	N	0	for all old lines	 	Overflow only at LMAR
N	N	>0	after blank lines only		Other lines at LMAR
>1	0	0	if INDENT>1 or after blank	  "	"    "	"
N      ≠N,>0	>0	if INDENT=N or after blank	  "     "    "   "